<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>E[attribute^=value]选择器</title>
    <style type="text/css">
        p[id^=one]{
            color:pink;
            font-family: "微软雅黑";
            font-size: 20px;
        }
    </style>
</head>
<body>
    <p id="one">
        山不在高，有仙则名
    </p>
    <p id="two">
        苔痕上阶绿，草色入帘青
    </p>
    <p id="one1">
        可以调素琴，阅金经
    </p>
    <p id="two1">
        孔子云：何陋之有？
    </p>
</body>
</html>